package com.yutian.selfservice.support.api;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 办理流程
 * 5.2.23
 */
@Data
@Table(name = "t_service_guide_process")
@Accessors(chain = true)
public class HandlerProcess {
    private Long id;
    private String eventCode;
    private Long nodeId;
    private Long nextNodeId;
    /**
     * 流程名称
     */
    private String nodeName;
    /**
     *办理时长
     */
    private String handleTimeLimit;
    /**
     * 转外时限
     */
    private String outTimeLimit;
    /**
     * 条件  原字段为condition  该字段为关键字
     */
    private String conditionExplain;
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @Transient
    private String condition;
}
